﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LinksMining;

namespace LMConcole {
    class Program {
        static void Main(string[] args)
        {
            switch (args.Length) {
                case 1:
                    new LinksMining.LinksMining(args[0]);
                    break;
                case 2:
                    new LinksMining.LinksMining(args[0], args[1]);
                    break;
                default:
                    //new LinksMining.LinksMining(@"C:\123");
                    showUsage();
                    Console.ReadKey();
                    return;
            }

        }

        static void showUsage() {
            Console.WriteLine("Usage: input.txt [output.txt]");
        }
    }
}
